package AST;

public class ExprStmt extends SmallStmt {
	private TargetList targetList;
	private AugAssign augAssign;
	private Listmaker listmaker;

	public ExprStmt(TargetList targetList, AugAssign augAssign,
			Listmaker listmaker) {
		print();
		this.targetList = targetList;
		this.augAssign = augAssign;
		this.listmaker = listmaker;
	}

	public ExprStmt() {
		print();
	}

	public TargetList getTargetList() {
		return targetList;
	}

	public void setTargetList(TargetList targetList) {
		this.targetList = targetList;
	}

	public AugAssign getAugAssign() {
		return augAssign;
	}

	public void setAugAssign(AugAssign augAssign) {
		this.augAssign = augAssign;
	}

	public Listmaker getListmaker() {
		return listmaker;
	}

	public void setListmaker(Listmaker listmaker) {

		this.listmaker = listmaker;
	}

	public void print() {
		System.out.println("ExprStmt");
	}

	public void genC(PW pw) {
		targetList.genC(pw);
		augAssign.genC(pw);
		listmaker.genC(pw);

	}

}
